<!doctype html>
<html class="no-js fixed-layout">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="JFinalShop商城" />
  <meta name="description" content="JFinalShop是使用JFinal、AmazeUI等开发的开源网店系统。" />
  <!-- minimum-scale=1.0, maximum-scale=1.0 不加这两个在iPhone浏览器下点击缩小了的输入框会使整个页面变大 -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
  <title>JFinalShop商城</title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="/statics/img/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="/statics/img/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="JFinal shop"/>
  <link rel="apple-touch-icon-precomposed" href="/statics/img/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="/statics/img/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">

  <link rel="stylesheet" href="/statics/AmazeUI/assets/css/amazeui.min.css">
  <link rel="stylesheet" href="/statics/AmazeUI/assets/css/shop.css">
  
  <!--[if (gte IE 9)|!(IE)]><!-->
  <script src="/statics/AmazeUI/assets/js/jquery.min.js"></script>
  <!--<![endif]-->
  <script src="/statics/AmazeUI/assets/js/amazeui.min.js"></script>
  <script src="/statics/AmazeUI/assets/js/amazeui.modal.js"></script>
  <script src="/statics/js/base.js"></script>
  <script src="/statics/AmazeUI/assets/js/validator.js"></script>
  
  <script src="/statics/js/plugin/jquery.cookie.js"></script>
  <script src="/statics/js/plugin/jquery.form.js"></script>
  <script src="/statics/js/plugin/jquery.metadata.js"></script>
  <script>
$(function() {
  //刷新验证码图片(登录)
  function loginCaptchaImageRefresh() {
    $("#loginCaptchaImage").attr("src", "/captcha?timestamp=" + (new Date()).valueOf());
  }
  	
  // 点击刷新验证码图片
  $("#loginCaptchaImage").click( function() {
	  loginCaptchaImageRefresh();
  });
  
  loginCaptchaImageRefresh();
});
</script>
</head>
<body>
  <!-- content start -->
  <div class="shop-content">
    <div class="shop-content-body">
      <div class="am-panel am-panel-default">
        <div class="am-panel-hd am-text-center">会员登录</div>
        <div class="am-panel-bd">
          <form id="loginForm" class="am-form am-form-horizontal" action="/shop/member/login"  method="post">
          <div class="am-form-group">
            <label for="doc-ipt-3" class="am-u-sm-3 am-form-label">用户名</label>
            <div class="am-u-sm-9">
              <input type="text" name="member.username" required>
            </div>
          </div>
          <div class="am-form-group">
            <label for="doc-ipt-pwd-2" class="am-u-sm-3 am-form-label">密码</label>
            <div class="am-u-sm-9">
              <input type="password" id="doc-ipt-pwd-2" name="member.password" required>
            </div>
          </div>
          <div class="am-form-group">
            <label for="captcha" class="am-u-sm-3 am-form-label">验证码</label>
            <div class="am-u-sm-5">
              <input type="text" name="captchaToken" placeholder="验证码 →" value="" required>
            </div>
            <div class="am-u-sm-4 am-padding-left-0">
              <img id="loginCaptchaImage" src="/captcha" alt="换一张" />
            </div>
          </div>
  
          <div class="am-form-group">
            <div class="am-u-sm-offset-3 am-u-sm-9 am-text-xs">
              <a href="/shop/member/passwordRecover">忘记了密码? 点击找回!</a>
            </div>
          </div>
  
          <div class="am-form-group">
            <div class="am-u-sm-9 am-u-sm-offset-3">
              <button type="submit" class="am-btn am-btn-default">登 录</button>
            </div>
          </div>
          </form>
        </div>
      </div>
    </div>
    <footer class="shop-content-footer">
      <hr>
      <div class="am-text-center am-text-xs am-margin-0"><p>Copyright &nbsp;© 2016 sun.ao. All rights reserved.</p></div>
    </footer>
  </div>
  <!-- content end -->
</body>
</html>
    
